#ifndef QWAVEFORMVIEW_H_89FEB408_B088_45D5_B2C5_2FF604B7F0FC
#define QWAVEFORMVIEW_H_89FEB408_B088_45D5_B2C5_2FF604B7F0FC

#include "audioutils_global.h"
#include <QWidget>

namespace AudioUtils {

class QWaveFormViewPrivate;

class AUDIOUTILS_EXPORT QWaveFormView : public QWidget
{
    Q_OBJECT
public:
    explicit QWaveFormView(QWidget *parent = nullptr);
	~QWaveFormView();

public Q_SLOTS:
    void open(const QString& path);
	void leftLine(const QColor& color);
	void rightLine(const QColor& color);
	void background(const QColor& color);

protected:
    void paintEvent(QPaintEvent *) override;

private:
	QWaveFormViewPrivate* p;
};

}

#endif // QWAVEFORMVIEW_H_89FEB408_B088_45D5_B2C5_2FF604B7F0FC
